package com.macro.mall.pms.enums;

/**
 * 上架状态枚举:
 *
 * @author xuyanjun
 * @date 2019-12-14
 */
public enum ProductPublishStatusEnum {

    /**
     * 下架
     */
    DOWN(0, "下架"),

    /**
     * 上架
     */
    UP(1, "上架");

    /**
     * 值
     */
    private int value;

    /**
     * 描述
     */
    private String description;

    ProductPublishStatusEnum(int value, String description) {
        this.value = value;
        this.description = description;
    }

    public int getValue() {
        return value;
    }

    public String getDescription() {
        return description;
    }

}
